﻿namespace Quail.Helpers
{
    /// <summary>
    /// A thingish class to store the data you need
    /// from the Grinch and Whoville to the Lorax and Thneed.
    /// Keep Horton with the speck and the speck with the Whos
    /// and the Truffula trees with their brown Bar-ba-loots
    /// </summary>
    /// <typeparam name="T1">Thing 1</typeparam>
    /// <typeparam name="T2">Thing 2</typeparam>
    public class TwoThings<T1, T2>
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="TwoThings&lt;T1, T2&gt;"/> class.
        /// </summary>
        /// <param name="t1">The t1.</param>
        /// <param name="t2">The t2.</param>
        public TwoThings(T1 t1, T2 t2)
        {
            Thing1 = t1;
            Thing2 = t2;
        }

        /// <summary>
        /// Gets or sets the Thing 1.
        /// </summary>
        /// <value>The thing 1.</value>
        public T1 Thing1
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the Thing 2.
        /// </summary>
        /// <value>The thing 2.</value>
        public T2 Thing2
        {
            get;
            set;
        }
    }
}
